package com.senvon.newApp.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.istock.base.mybatis.BaseMapper;
import com.istock.base.mybatis.BaseService;
import com.senvon.newApp.dao.MenuInfoMapper;
import com.senvon.newApp.model.MenuInfo;
import com.senvon.newApp.model.MenuInfoExample;

/**
 * 
 * 
 * @author xie xianchao
 * @version 1.0
 * @date 2017年6月10日
 */
@Repository // 用@Repository和用@Service注解的效果是一样的
public class MenuInfoService extends BaseService<MenuInfo, Integer, MenuInfoExample> {

	@Autowired
	private MenuInfoMapper menuInfoMapper;

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.istock.base.mybatis.BaseService#setBaseMapper(com.istock.base.mybatis.BaseMapper)
	 */
	@Autowired
	@Override
	public void setBaseMapper(BaseMapper<MenuInfo, Integer, MenuInfoExample> menuInfoMapper) {
		super.setBaseMapper(menuInfoMapper);
	}

}
